package com.itheima.day04_array;

import java.util.Random;

public class Demo2_dianming {
    public static void main(String[] args) {
        String[] name = {"张三", "李四", "天气男", "王小布", "谭山"};
        Random random = new Random();
        int i = random.nextInt(6);
        System.out.println(name[i]);
    }
}
